package com.zheng.hr.dao.model;

import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;

/**
 * <p>
 * hr_resume_experience 工作经历
 * </p>
 *
 * @author likun
 * @since 2018-04-19
 */
@TableName("hr_resume_experience")
public class HrResumeExperience extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 简历编号
     */
	@TableField("resume_id")
	private Integer resumeId;
    /**
     * 公司名
     */
	private String company;
    /**
     * 岗位
     */
	private String position;
    /**
     * 公司地点
     */
	private String location;
    /**
     * 工作年限
     */
	private Integer year;
    /**
     * 入职日期
     */
	@TableField("start_time")
	private Date startTime;
    /**
     * 离职日期
     */
	@TableField("end_time")
	private Date endTime;
    /**
     * 备注
     */
	private String remarks;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getResumeId() {
		return resumeId;
	}

	public void setResumeId(Integer resumeId) {
		this.resumeId = resumeId;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	@Override
	protected Serializable pkVal() {
		return id;
	}
	@Override
	public String toString() {
		return "HrResumeExperience{" +
			"id=" + id +
			", resumeId=" + resumeId +
			", company=" + company +
			", position=" + position +
			", location=" + location +
			", year=" + year +
			", startTime=" + startTime +
			", endTime=" + endTime +
			", remarks=" + remarks +
			"}";
	}
}
